Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch detailed pod resource usage and requets #715

Merged
merged 26 commits into from
Jan 9, 2025

Conversation

Richard87
Copy link
Contributor

@Richard87 Richard87 commented Jan 2, 2025

example response:

{
  "environments": {
    "dev": {
      "components": {
        "compute": {
          "requested_cpu": 0.02,
          "requested_memory": 500000000,
          "replicas": {
            "compute-5d87f677db-8xpwt": {
              "max_memory": 12328960,
              "max_cpu": 0.001148
            }
          }
        },
        "redis": {
          "requested_cpu": 0.04,
          "requested_memory": 50000000,
          "replicas": {
            "redis-68c8584c55-qjwz7": {
              "max_memory": 8630272,
              "max_cpu": 0.002757
            }
          }
        },
        "web": {
          "requested_cpu": 0.03,
          "requested_memory": 20000000,
          "replicas": {
            "web-69bb5b7bdf-d9fzp": {
              "max_memory": 13848576,
              "max_cpu": 0.000631
            },
            "web-69bb5b7bdf-vqhlm": {
              "max_memory": 13602816,
              "max_cpu": 0.000541
            },
            "web-69bb5b7bdf-xh8fd": {
              "max_memory": 13967360,
              "max_cpu": 0.000551
            }
          }
        }
      }
    }
  }
}

@Richard87 Richard87 requested a review from nilsgstrabo January 3, 2025 09:25
@Richard87 Richard87 self-assigned this Jan 3, 2025
nilsgstrabo
nilsgstrabo previously approved these changes Jan 8, 2025
@Richard87 Richard87 requested a review from nilsgstrabo January 9, 2025 11:10
@Richard87 Richard87 merged commit d61d5b5 into master Jan 9, 2025
6 checks passed
@Richard87 Richard87 deleted the fetch-detailed-pod-resource-usage-and-requets branch January 9, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants